package com.hy.chat.client.widget;

import com.extjs.gxt.ui.client.widget.Window;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;

public class ChatWindow extends Window{
	
	String h;
	public ChatWindow() {
			  
		super();
		    setShadow(true);
		    hidden = true;
		    setDraggable(true);
		    setResizable(true);
		    
		    this.setSize(550, 400);
		    setTitle("在线咨询");
			setHeading("在线咨询");
			setMinimizable(true);
			setLayout(new FitLayout());
	}
	
	public ChatWindow(String heading) {
		 
		this();
		//super();
		    
		    setTitle(heading);
			setHeading(heading);
			
	}
	
	
	
	

}
